package homework.yuandan.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 作者:49293
 * 时间:2021/1/3-13:27
 * @author 49293
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Movie {
    private int id;
    private String name;
    private String info;
    private String img;
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date showTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date downshelfTime;
}
